package com.hardydou.system.mapper;

import com.hardydou.system.model.SystemConfig;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SystemConfigMapper {
    int deleteByPrimaryKey(Long configId);

    int insert(SystemConfig record);

    int insertSelective(SystemConfig record);

    SystemConfig selectByPrimaryKey(Long configId);

    int updateByPrimaryKeySelective(SystemConfig record);

    int updateByPrimaryKey(SystemConfig record);

    List<SystemConfig> list(Map params);

    SystemConfig findByConfigKey(String key);

}